﻿using System;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WindowsFormsLinphoneV.com.amall.model;

namespace WindowsFormsLinphoneV.com.amall.common
{
    public static class Utils
    {

        private static SystemConfigVO systemConfigVO = null;
        internal static string veinName = "";
        public static SystemConfigVO initSystemConfig()
        {

            if (systemConfigVO == null)
            {
                systemConfigVO = new SystemConfigVO();
            }
            systemConfigVO.syn_open_voip = ConfigurationManager.AppSettings.Get("syn_open_voip");
            systemConfigVO.default_url = ConfigurationManager.AppSettings.Get("default_url");
            systemConfigVO.is_debug = ConfigurationManager.AppSettings.Get("is_debug");
            systemConfigVO.fvdev_show = ConfigurationManager.AppSettings.Get("fvdev_show");
            return systemConfigVO;
        }
       


    }
}
